package net.ericaro.neojavagen.types ;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

import net.ericaro.neojavagen.types.InterfaceType ;

import net.ericaro.neojavagen.StringUtils;
		
/**
* <pre> AdditionalBounds : & InterfaceType & InterfaceType & ...  
*/
public class AdditionalBounds extends ArrayList<InterfaceType>  {
	
	public AdditionalBounds(){
		super();
	}
	
	public AdditionalBounds(InterfaceType ... components){
		this(Arrays.asList(components) );
	}
	public AdditionalBounds(Collection<InterfaceType> values ){
		super(values);
	}
	
	
	public String toString(){
		return StringUtils.toString(this, "&", "&", "");
	}

}
